package crp.core.security.domain.models;

public class AccessToken {
    private final String id;
    private final String type;
    private final String accessToken;
    private final long expiresIn;

    public AccessToken(String id, String type, String accessToken, long expiresIn) {
        this.id = id;
        this.type = type;
        this.accessToken = accessToken;
        this.expiresIn = expiresIn;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public long getExpiresIn() {
        return expiresIn;
    }

    public String getId() {
        return id;
    }

    public String getType() {
        return type;
    }
}
